<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var money = prompt("请输入班长带了多少钱")
        if (money >=2000){
            alert("请大家去吃西餐")
            }
           else if (money >=1500){
            alert("请大家去吃快餐")
            }
           else if (money >=1000){
            alert("请大家去喝奶茶")
            }
           else if (money >=500){
            alert("请大家去吃棒棒糖")
            }
            else{
                alert("班长下次把钱带够")
            }
    </script>
</head>
<body>
    
</body>
</html>